Handle case where we need to parse the xsetting as if it were an RC file
authorHavoc Pennington <hp@redhat.com>
Mon, 4 Jun 2001 23:15:51 +0000 (23:15 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Mon, 4 Jun 2001 23:15:51 +0000 (23:15 +0000)
commit1b3c9214371d89a4872574d700b86cb71d6eee56
treecc6c602393a292313c61da2b246b5a6b4de2ff4d
parent9cc992b6e732fef6edf2153821354a6b1b6a5af6
Handle case where we need to parse the xsetting as if it were an RC file

2001-05-10  Havoc Pennington  <hp@redhat.com>

* gtk/gtksettings.c (gtk_settings_get_property): Handle case where
we need to parse the xsetting as if it were an RC file string.

* gtk/gtkcolorsel.c (gtk_color_selection_class_init): load initial
value of palette from settings, not from static variable

* gdk/x11/gdkevents-x11.c: add color palette, toolbar mode to
xsettings translation table

* gtk/gtktoolbar.c (gtk_toolbar_new): Remove arguments, because
hardcoding the toolbar style conflicts with new customizable
toolbar style philosophy
(gtk_toolbar_class_init): add settings for default toolbar style;
these are used unless the app specifically forces a toolbar style

* gtk/gtksettings.c (settings_install_property_parser): only
return at the start if we warn and parser == NULL

* gtk/gtkcolorsel.c (gtk_color_selection_finalize): disconnect the
palette changed handler so we don't notify dead color selections

* gtk/gtkstyle.c (gtk_default_draw_shadow): handle
xthickness/ythickness of 0 or 1 properly
(gtk_default_draw_resize_grip): clear the background behind the
resize grips, and align to bottom right if we square the
area to be drawn.

* gtk/gtkstatusbar.c (gtk_statusbar_init): set horizontal usize on
statusbar label to 1, so it doesn't make toplevels resize oddly
(gtk_statusbar_size_request): add grip size to request
(gtk_statusbar_size_allocate): hack so the hbox still works with
the grip size in the request

* gtk/gtktoolbar.c (gtk_toolbar_show_all): override to fix
bug where showing all on a toplevel makes the toolbar
button text appear despite the toolbar mode

* gtk/gtkmenubar.c: add internal padding style property

* gtk/gtktoolbar.c: Add internal padding style property; add
shadow type style property

* gtk/gtkmenubar.c (gtk_menu_bar_paint): paint box with widget
state; and put Container::border_width outside the frame

* gtk/gtktextview.c: don't draw focus rectangle if we're in
interior focus mode, we just use blinking cursor
27 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
demos/gtk-demo/Makefile.am
demos/gtk-demo/appwindow.c [new file with mode: 0644]
demos/gtk-demo/gtk-logo-rgb.gif
docs/Changes-2.0.txt
docs/reference/gtk/tmpl/gtk-unused.sgml
docs/reference/gtk/tmpl/gtktoolbar.sgml
docs/reference/gtk/tmpl/gtktypeutils.sgml
gdk-pixbuf/ChangeLog
gdk-pixbuf/gdk-pixbuf-util.c
gdk/x11/gdkevents-x11.c
gtk/gtkcolorsel.c
gtk/gtkiconfactory.c
gtk/gtkmenubar.c
gtk/gtksettings.c
gtk/gtkstatusbar.c
gtk/gtkstyle.c
gtk/gtktextview.c
gtk/gtktoolbar.c
gtk/gtktoolbar.h
tests/testgtk.c